package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 报告对象 t_report
 * 
 * @author ruoyi
 * @date 2020-04-17
 */
public class Report extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 科研报告名称 */
    @Excel(name = "科研报告名称")
    private String reportName;

    /** 科研报告编号 */
    @Excel(name = "科研报告编号")
    private String reportNo;

    /** 课题负责人 */
    @Excel(name = "课题负责人")
    private String chargeMan;

    /** 主要完成人 */
    @Excel(name = "主要完成人")
    private String mainCompletedMan;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private Integer reportType;

    /** 项目来源 */
    @Excel(name = "项目来源")
    private String reportFrom;

    /** 报告编写时间 */
    @Excel(name = "报告编写时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date preparationTime;

    /** 是否已归档 */
    @Excel(name = "是否已归档")
    private Integer isFiled;

    /** 单位id */
    @Excel(name = "单位id")
    private Long reportUnitId;

    /** 申报单位 */
    @Excel(name = "申报单位")
    private String reportUnit;

    /** 科室 */
    @Excel(name = "科室")
    private String department;

    /** 科室 */
    @Excel(name = "科室")
    private Long departmentId;

    /** 申报时间 */
    @Excel(name = "申报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 协议性质 */
    @Excel(name = "协议性质")
    private Integer protocolType;

    /** 是否包含附件 */
    @Excel(name = "是否包含附件")
    private Integer hasAppendix;

    /** 文档类型 */
    @Excel(name = "文档类型")
    private Integer docType;

    /** 审核状态   1未审核，2审核中，3审核通过 */
    @Excel(name = "审核状态   1未审核，2审核中，3审核通过")
    private Integer auditState;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    private String searchParam;

    public String getSearchParam() {
        return searchParam;
    }

    public void setSearchParam(String searchParam) {
        this.searchParam = searchParam;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReportName(String reportName) 
    {
        this.reportName = reportName;
    }

    public String getReportName() 
    {
        return reportName;
    }
    public void setReportNo(String reportNo) 
    {
        this.reportNo = reportNo;
    }

    public String getReportNo() 
    {
        return reportNo;
    }
    public void setChargeMan(String chargeMan) 
    {
        this.chargeMan = chargeMan;
    }

    public String getChargeMan() 
    {
        return chargeMan;
    }
    public void setMainCompletedMan(String mainCompletedMan) 
    {
        this.mainCompletedMan = mainCompletedMan;
    }

    public String getMainCompletedMan() 
    {
        return mainCompletedMan;
    }
    public void setReportType(Integer reportType) 
    {
        this.reportType = reportType;
    }

    public Integer getReportType() 
    {
        return reportType;
    }
    public void setReportFrom(String reportFrom) 
    {
        this.reportFrom = reportFrom;
    }

    public String getReportFrom() 
    {
        return reportFrom;
    }
    public void setPreparationTime(Date preparationTime) 
    {
        this.preparationTime = preparationTime;
    }

    public Date getPreparationTime() 
    {
        return preparationTime;
    }
    public void setIsFiled(Integer isFiled) 
    {
        this.isFiled = isFiled;
    }

    public Integer getIsFiled() 
    {
        return isFiled;
    }
    public void setReportUnitId(Long reportUnitId)
    {
        this.reportUnitId = reportUnitId;
    }

    public Long getReportUnitId()
    {
        return reportUnitId;
    }
    public void setReportUnit(String reportUnit) 
    {
        this.reportUnit = reportUnit;
    }

    public String getReportUnit() 
    {
        return reportUnit;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setProtocolType(Integer protocolType) 
    {
        this.protocolType = protocolType;
    }

    public Integer getProtocolType() 
    {
        return protocolType;
    }
    public void setHasAppendix(Integer hasAppendix) 
    {
        this.hasAppendix = hasAppendix;
    }

    public Integer getHasAppendix() 
    {
        return hasAppendix;
    }
    public void setDocType(Integer docType) 
    {
        this.docType = docType;
    }

    public Integer getDocType() 
    {
        return docType;
    }
    public void setAuditState(Integer auditState) 
    {
        this.auditState = auditState;
    }

    public Integer getAuditState() 
    {
        return auditState;
    }
    public void setGmtTime(Date gmtTime) 
    {
        this.gmtTime = gmtTime;
    }

    public Date getGmtTime() 
    {
        return gmtTime;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportName", getReportName())
            .append("reportNo", getReportNo())
            .append("chargeMan", getChargeMan())
            .append("mainCompletedMan", getMainCompletedMan())
            .append("reportType", getReportType())
            .append("reportFrom", getReportFrom())
            .append("preparationTime", getPreparationTime())
            .append("isFiled", getIsFiled())
            .append("reportUnitId", getReportUnitId())
            .append("reportUnit", getReportUnit())
            .append("department", getDepartment())
            .append("departmentId", getDepartmentId())
            .append("reportTime", getReportTime())
            .append("protocolType", getProtocolType())
            .append("remark", getRemark())
            .append("hasAppendix", getHasAppendix())
            .append("docType", getDocType())
            .append("auditState", getAuditState())
            .append("gmtTime", getGmtTime())
            .append("creator", getCreator())
            .toString();
    }
}
